package com.qiyi.player.core.video.file.corefile
{
   import com.qiyi.player.core.video.file.IFile;
   import com.qiyi.player.core.model.impls.Segment;
   import com.qiyi.player.core.video.file.actors.datatile.IFlvBlock;
   
   public interface ICoreFile extends IFile
   {
      
      function get blockCount() : int;
      
      function get readingIndex() : int;
      
      function set readingIndex(param1:int) : void;
      
      function get lastReadingBlockStartPosition() : int;
      
      function get lastReadingSegment() : Segment;
      
      function addBlock(param1:IFlvBlock) : int;
      
      function removeBlock(param1:IFlvBlock) : int;
      
      function removeBlockAt(param1:int) : void;
      
      function findBlockAt(param1:int) : IFlvBlock;
      
      function findBlockIndexFrom(param1:Segment, param2:int) : int;
      
      function findBlockIndex(param1:IFlvBlock) : int;
   }
}
